package com.vhall.component.controller.interactive.facade;

import com.vhall.component.entity.interactive.vo.DocumentUpdateReqVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author yongzheng.xu
 * @date 2021/8/20 19:52
 */
@FeignClient(value = "DocumentCallbackFacade", path = "/callback/documents")
public interface DocumentCallbackFacade {

    /**
     * 更新文档 回调
     *
     * @param param
     * @return
     */
    @PostMapping("/index")
    String update(@RequestBody DocumentUpdateReqVO param);
}
